<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>动画制作</title>
    <style>
        img {
            width: 300px;
            position: relative;
            left: 300px;
            top: 100px;
        }
        
        @keyframes rotate {
            0% {
                transform: rotate(0deg);
            }
            100% {
                transform: rotate(360deg);
            }
        }
        
        img:hover {
            animation: rotate 0.5s linear infinite;
        }
    </style>
</head>

<body>
    <img src="10.jpg" alt="">
    <article>
        HTML5应用开发
    </article>
</body>

</html>